import config from './config.js'
export function check_token(data) {
  const reconfig = {
    headers: {
      'Content-type': 'application/x-www-form-urlencoded'
    },
    data
  }
  return this.$http.post(config.kuaishou_video.api.check_token, '', reconfig)
}
let turet = {}
export function kuaishou_find(data, herides) {
  console.log('herides', herides)
  if (herides && herides['identity-verification-type']) {
    turet = herides
  }
  const reconfig = {
    headers: {
      'Content-type': 'application/json',
      ...turet
    },
    data: JSON.stringify(data)
  }
  return this.$http.post(config.kuaishou_video.api.kuaishou_find, '', reconfig)
}